import random
from functools import reduce
from operator import add, or_
result = reduce(add, range(100))
print(result)
set_result = reduce(or_, (set(random.random() for _ in range(5)) for _ in range(10)))
print(len(set_result), set_result)
